/** Implementation of DataProcedure Class.
 * @file 
 * @author Jeremy Schultz
 */
#include "DataProcedure.h"

using namespace std;

//-----------------------------------------------------------------------------
// Constructor
DataProcedure::DataProcedure() : WordData(WordData::PROCEDURE)	{
	addressLabel = 0;
}

//-----------------------------------------------------------------------------
// Constructor
DataProcedure::DataProcedure(int _addressLabel) : WordData(WordData::PROCEDURE)	{
	addressLabel = _addressLabel;
}


//-----------------------------------------------------------------------------
// Getter - addressLabel
int DataProcedure::AddressLabel()	{
	return addressLabel;
}

//-----------------------------------------------------------------------------
// Setter - addressLabel
void DataProcedure::setAddressLabel(int _addressLabel)	{
	addressLabel = _addressLabel;
}


//-----------------------------------------------------------------------------
// convert DataProcedure to string
string DataProcedure::toString()	{
	stringstream ss;

	ss << WordData::toString();
	ss << " addressLabel: " << addressLabel;

	return ss.str();
}
